<div class="container">
    <div class="row">
    <!--最近更新模块开始-->
    <?php if(!empty($type_list)){foreach($type_list as $value){?>
        <div class="layout-box clearfix">
            <div class="box-title">
                <h3 class="m-0"><i class="icon iconfont text-color">&#xe62b;</i><?=$value['title']?></h3>
                <div class="more pull-right">
                    <a href="/list_<?=$value['id']?>_1" class="text-muted" title="更多">更多 <i class="icon iconfont">&#xe65e;</i></a>
                </div>
            </div>
            <ul class="clearfix">
                <?php if(!empty($value['list'])){foreach($value['list'] as $val){?>
                <li class="col-md-2 col-sm-3 col-xs-4 ">
                    <a class="video-pic loading" data-original="<?=$val['image']?>" href="/info_<?=$val['id']?>" title="<?=$val['title']?>">
                        <span class="player"></span>
                        <span class="score"><?=$val['author']?></span>
                        <span class="note text-bg-r"></span>
                    </a>
                    <div class="title">
                        <h5 class="text-overflow">
                            <a href="/info_<?=$val['id']?>" title="<?=$val['title']?>"><?=$val['title']?></a>
                        </h5>
                    </div>
                    <div class="subtitle text-time text-overflow hidden-xs"><?=$val['time']?></div>
                </li>
              <?php }}?>
            </ul>
        </div>
        <div class="box-video-footer visible-xs clearfix">
          <a href="/list_<?=$value['id']?>_1" class="text-more" title="查看更多视频">查看更多视频 <i class="icon iconfont icon-right pull-right"></i></a>
        </div> 
      <?php }}?>
    </div>
   </div>
   <?php if($type){?>
   <div class="box-page clearfix">
        <div id="pagination2" class="page fl">
            <?=\yii\widgets\LinkPager::widget([
                // 'pagination' => $dataProvider->pagination,
                'pagination' => $page,
                'maxButtonCount'=>5,
                'firstPageLabel' => '首页',
                'lastPageLabel' => '尾页',
            ]);?>
        </div>
    </div>
<?php }?>
</div>